﻿#include "FITKPHengLEIInFlowTypePressure.h"
#include "FITK_Kernel/FITKEasyParam/FITKParameter.h"
#include "FITKPHengLEIAbsSolver.h"

namespace Interface
{
    FITKPHengLEIInFlowTypePressure::FITKPHengLEIInFlowTypePressure(FITKPHengLEIAbsSolver::PHengLEISolverType type)
		:FITKPHengLEIAbstractInFlowType(type)
    {
        //初始化
        this->init();
        this->setDataObjectName("Pressure");
    }


    void FITKPHengLEIInFlowTypePressure::initInFlowTypeParam()
    {
		if (_solverType == Interface::FITKPHengLEIAbsSolver::PLHypersonic)
		{
			//设置参数
			_inFlowTypeParams->createDoubleParameter("Velocity", 1000.0);
			_inFlowTypeParams->createDoubleParameter("Pressure", 1.0e5);
		}
    }
}



